package com.lianzai.common.utils;

import com.alibaba.fastjson.JSON;

public class JsonUtil {

    private JsonUtil() {
    }

    public static <T> T parseObject(String json, Class<T> clazz) {
        return JSON.parseObject(json, clazz);
    }

    public static String toJSONString(Object object) {
        return JSON.toJSONString(object);
    }
}
